<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
   
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="186b3a3e88f640faa964fbbb8f67928d" class="chart-container" style="width:100%; height:700px;"></div>
    <script>
        var chart_186b3a3e88f640faa964fbbb8f67928d = echarts.init(
            document.getElementById('186b3a3e88f640faa964fbbb8f67928d'), 'white', {renderer: 'canvas'});
        var option_186b3a3e88f640faa964fbbb8f67928d = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "graph",
            "layout": "force",
            "symbolSize": 10,
            "circular": {
                "rotateLabel": false
            },
            "force": {
                "repulsion": 2500,
                "edgeLength": 50,
                "gravity": 0.2
            },
            "label": {
                "show": true,
                "position": "inside",
                "margin": 8,
                "formatter": function (x) { var strs = x.data.name;   var n='';    var str='centernode';   if(strs.search(str)!=-1) {return  n;}   var strs = x.data.name;  if(strs.length<=6){                       return strs;                   }else {                       name = strs.slice(0,6) + '...';                        return name;                   }}
            },
            "lineStyle": {
                "width": 1,
                "opacity": 1,
                "curveness": 0,
                "type": "solid"
            },
            "roam": true,
            "draggable": true,
            "focusNodeAdjacency": "true",
            "data": [
                {
                    "name": "\u5417\u6c2f\u8d1d\u80fa",
                    "des": "\u5417\u6c2f\u8d1d\u80fa",
                    "category": 1,
                    "symbolSize": 90
                },
                {
                    "name": "cure_disease|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "forbid|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "attention|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "uneffect|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "use|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "1.\u4e00\u822c\u6bcf\u5929300mg\uff0c\u6839\u636e\u75c5\u60c5\u53ef\u51cf\u81f3\u6bcf\u5929150mg\uff0c\u4e5f\u53ef\u589e\u81f3600mg\uff0c\u5206\u6b21\u996d\u540e\u53e3\u670d\u3002\n2.\u8001\u5e74\u4eba\u3001\u809d\u529f\u80fd\u4e0d\u5168\u8005\u4e0d\u5fc5\u8c03\u6574\u5242\u91cf\uff1b\u4e25\u91cd\u809d\u529f\u80fd\u4e0d\u826f\u8005\u5e94\u51cf\u91cf1/3\uff5e1/2\u3002",
                    "des": "1.\u4e00\u822c\u6bcf\u5929300mg\uff0c\u6839\u636e\u75c5\u60c5\u53ef\u51cf\u81f3\u6bcf\u5929150mg\uff0c\u4e5f\u53ef\u589e\u81f3600mg\uff0c\u5206\u6b21\u996d\u540e\u53e3\u670d\u3002\n2.\u8001\u5e74\u4eba\u3001\u809d\u529f\u80fd\u4e0d\u5168\u8005\u4e0d\u5fc5\u8c03\u6574\u5242\u91cf\uff1b\u4e25\u91cd\u809d\u529f\u80fd\u4e0d\u826f\u8005\u5e94\u51cf\u91cf1/3\uff5e1/2\u3002",
                    "category": 6,
                    "symbolSize": 70
                },
                {
                    "name": "\u6709\u8f7b\u5ea6\u6076\u5fc3\u3001\u53e3\u5e72\u3001\u5934\u75db\u3001\u5934\u6655\u3001\u51fa\u6c57\u3001\u5fc3\u60b8\u3001\u5931\u7720\u3001\u4f53\u4f4d\u6027\u4f4e\u8840\u538b\u7b49\u3002\n\u5c11\u89c1\u4e0d\u826f\u53cd\u5e94\u6709\u8fc7\u654f\u6027\u76ae\u75b9\u3002\n\u5076\u89c1\u610f\u8bc6\u969c\u788d\u3001\u8840\u538b\u5347\u9ad8\u53ca\u809d\u529f\u80fd\u635f\u5bb3\u3002\n\u5927\u5242\u91cf\u65f6\u53ef\u80fd\u8bf1\u53d1\u766b\u75eb\u3002",
                    "des": "\u6709\u8f7b\u5ea6\u6076\u5fc3\u3001\u53e3\u5e72\u3001\u5934\u75db\u3001\u5934\u6655\u3001\u51fa\u6c57\u3001\u5fc3\u60b8\u3001\u5931\u7720\u3001\u4f53\u4f4d\u6027\u4f4e\u8840\u538b\u7b49\u3002\n\u5c11\u89c1\u4e0d\u826f\u53cd\u5e94\u6709\u8fc7\u654f\u6027\u76ae\u75b9\u3002\n\u5076\u89c1\u610f\u8bc6\u969c\u788d\u3001\u8840\u538b\u5347\u9ad8\u53ca\u809d\u529f\u80fd\u635f\u5bb3\u3002\n\u5927\u5242\u91cf\u65f6\u53ef\u80fd\u8bf1\u53d1\u766b\u75eb\u3002",
                    "category": 5,
                    "symbolSize": 70
                },
                {
                    "name": "1.\u5bf9\u5417\u6c2f\u8d1d\u80fa\u8fc7\u654f\u8005\u3001\u5b55\u5987\u548c\u54fa\u4e73\u8005\u7981\u7528\u3002\n2.\u55dc\u94ec\u7ec6\u80de\u7624\u3001\u809d\u529f\u80fd\u4e25\u91cd\u53d7\u635f\u4ee5\u53ca\u8e81\u72c2\u6291\u90c1\u75c7\u60a3\u8005\u7981\u7528\u3002",
                    "des": "1.\u5bf9\u5417\u6c2f\u8d1d\u80fa\u8fc7\u654f\u8005\u3001\u5b55\u5987\u548c\u54fa\u4e73\u8005\u7981\u7528\u3002\n2.\u55dc\u94ec\u7ec6\u80de\u7624\u3001\u809d\u529f\u80fd\u4e25\u91cd\u53d7\u635f\u4ee5\u53ca\u8e81\u72c2\u6291\u90c1\u75c7\u60a3\u8005\u7981\u7528\u3002",
                    "category": 3,
                    "symbolSize": 70
                },
                {
                    "name": "\u809d\u3001\u80be\u529f\u80fd\u4e25\u91cd\u4e0d\u5168\u8005\u614e\u7528\u3002\n\u672c\u54c1\u7981\u6b62\u4e0e\u5176\u4ed6\u6297\u6291\u90c1\u836f\u7269\u540c\u65f6\u4f7f\u7528\uff0c\u4ee5\u907f\u514d\u5f15\u8d77\u9ad85-\u7f9f\u8272\u80fa\u7efc\u5408\u5f81\u7684\u5371\u9669\u3002\n\u4f7f\u7528\u4e2d\u67a2\u6027\u9547\u75db\u836f(\u54cc\u66ff\u5576\u3001\u53ef\u5f85\u56e0\u3001\u7f8e\u6c99\u82ac)\u3001\u9ebb\u9ec4\u78b1\u3001\u4f2a\u9ebb\u9ec4\u78b1\u6216\u82ef\u4e19\u9187\u80fa\u60a3\u8005\u7981\u7528\u672c\u54c1\u3002\n\u60a3\u8005\u6709\u8f6c\u5411\u8e81\u72c2\u53d1\u4f5c\u503e\u5411\u65f6\u5e94\u7acb\u5373\u505c\u836f\u3002\n\u7528\u836f\u671f\u95f4\u4e0d\u5b9c\u9a7e\u9a76\u8f66\u8f86\u3001\u64cd\u4f5c\u673a\u68b0\u6216\u9ad8\u7a7a\u4f5c\u4e1a\u3002\n\u7528\u836f\u671f\u95f4\u5e94\u5b9a\u671f\u68c0\u67e5\u8840\u8c61\u53ca\u5fc3\u3001\u809d\u3001\u80be\u529f\u80fd\u3002\n\u7531\u5176\u4ed6\u6297\u6291\u90c1\u836f\u6362\u7528\u672c\u54c1\uff0c\u5efa\u8bae\u505c\u836f2\u5468\u540e\u518d\u5f00\u59cb\u4f7f\u7528\u672c\u54c1;\u6c1f\u897f\u6c40\u5e94\u505c\u836f5\u5468\u518d\u5f00\u59cb\u4f7f\u7528\u672c\u54c1\u3002\n\u5b55\u5987\u614e\u7528\u3002\u54fa\u4e73\u671f\u5987\u5973\u4f7f\u7528\u672c\u54c1\u65f6\u5e94\u505c\u6b62\u54fa\u4e73\u3002\n\u8001\u5e74\u60a3\u8005\u7528\u836f\u914c\u60c5\u51cf\u5c11\u7528\u91cf\u3002",
                    "des": "\u809d\u3001\u80be\u529f\u80fd\u4e25\u91cd\u4e0d\u5168\u8005\u614e\u7528\u3002\n\u672c\u54c1\u7981\u6b62\u4e0e\u5176\u4ed6\u6297\u6291\u90c1\u836f\u7269\u540c\u65f6\u4f7f\u7528\uff0c\u4ee5\u907f\u514d\u5f15\u8d77\u9ad85-\u7f9f\u8272\u80fa\u7efc\u5408\u5f81\u7684\u5371\u9669\u3002\n\u4f7f\u7528\u4e2d\u67a2\u6027\u9547\u75db\u836f(\u54cc\u66ff\u5576\u3001\u53ef\u5f85\u56e0\u3001\u7f8e\u6c99\u82ac)\u3001\u9ebb\u9ec4\u78b1\u3001\u4f2a\u9ebb\u9ec4\u78b1\u6216\u82ef\u4e19\u9187\u80fa\u60a3\u8005\u7981\u7528\u672c\u54c1\u3002\n\u60a3\u8005\u6709\u8f6c\u5411\u8e81\u72c2\u53d1\u4f5c\u503e\u5411\u65f6\u5e94\u7acb\u5373\u505c\u836f\u3002\n\u7528\u836f\u671f\u95f4\u4e0d\u5b9c\u9a7e\u9a76\u8f66\u8f86\u3001\u64cd\u4f5c\u673a\u68b0\u6216\u9ad8\u7a7a\u4f5c\u4e1a\u3002\n\u7528\u836f\u671f\u95f4\u5e94\u5b9a\u671f\u68c0\u67e5\u8840\u8c61\u53ca\u5fc3\u3001\u809d\u3001\u80be\u529f\u80fd\u3002\n\u7531\u5176\u4ed6\u6297\u6291\u90c1\u836f\u6362\u7528\u672c\u54c1\uff0c\u5efa\u8bae\u505c\u836f2\u5468\u540e\u518d\u5f00\u59cb\u4f7f\u7528\u672c\u54c1;\u6c1f\u897f\u6c40\u5e94\u505c\u836f5\u5468\u518d\u5f00\u59cb\u4f7f\u7528\u672c\u54c1\u3002\n\u5b55\u5987\u614e\u7528\u3002\u54fa\u4e73\u671f\u5987\u5973\u4f7f\u7528\u672c\u54c1\u65f6\u5e94\u505c\u6b62\u54fa\u4e73\u3002\n\u8001\u5e74\u60a3\u8005\u7528\u836f\u914c\u60c5\u51cf\u5c11\u7528\u91cf\u3002",
                    "category": 4,
                    "symbolSize": 70
                },
                {
                    "name": "\u60c5\u611f\u6027\u5fc3\u5883\u969c\u788d",
                    "des": "\u60c5\u611f\u6027\u5fc3\u5883\u969c\u788d",
                    "category": 2,
                    "symbolSize": 70
                },
                {
                    "name": "\u8001\u5e74\u671f\u6291\u90c1\u75c7",
                    "des": "\u8001\u5e74\u671f\u6291\u90c1\u75c7",
                    "category": 2,
                    "symbolSize": 70
                }
            ],
            "categories": [
                {},
                {
                    "name": "drug"
                },
                {
                    "name": "disease"
                },
                {
                    "name": "forbid"
                },
                {
                    "name": "attention"
                },
                {
                    "name": "uneffect"
                },
                {
                    "name": "use"
                }
            ],
            "edgeLabel": {
                "show": true,
                "margin": 8,
                "formatter": function (x) {return x.data.name;}
            },
            "edgeSymbol": [
                "circle",
                "arrow"
            ],
            "edgeSymbolSize": [
                4,
                10
            ],
            "links": [
                {
                    "source": "\u5417\u6c2f\u8d1d\u80fa",
                    "target": "cure_disease|centernode",
                    "name": "cure_disease"
                },
                {
                    "source": "\u5417\u6c2f\u8d1d\u80fa",
                    "target": "forbid|centernode",
                    "name": "forbid"
                },
                {
                    "source": "\u5417\u6c2f\u8d1d\u80fa",
                    "target": "attention|centernode",
                    "name": "attention"
                },
                {
                    "source": "\u5417\u6c2f\u8d1d\u80fa",
                    "target": "uneffect|centernode",
                    "name": "uneffect"
                },
                {
                    "source": "\u5417\u6c2f\u8d1d\u80fa",
                    "target": "use|centernode",
                    "name": "use"
                },
                {
                    "source": "use|centernode",
                    "target": "1.\u4e00\u822c\u6bcf\u5929300mg\uff0c\u6839\u636e\u75c5\u60c5\u53ef\u51cf\u81f3\u6bcf\u5929150mg\uff0c\u4e5f\u53ef\u589e\u81f3600mg\uff0c\u5206\u6b21\u996d\u540e\u53e3\u670d\u3002\n2.\u8001\u5e74\u4eba\u3001\u809d\u529f\u80fd\u4e0d\u5168\u8005\u4e0d\u5fc5\u8c03\u6574\u5242\u91cf\uff1b\u4e25\u91cd\u809d\u529f\u80fd\u4e0d\u826f\u8005\u5e94\u51cf\u91cf1/3\uff5e1/2\u3002",
                    "name": " "
                },
                {
                    "source": "uneffect|centernode",
                    "target": "\u6709\u8f7b\u5ea6\u6076\u5fc3\u3001\u53e3\u5e72\u3001\u5934\u75db\u3001\u5934\u6655\u3001\u51fa\u6c57\u3001\u5fc3\u60b8\u3001\u5931\u7720\u3001\u4f53\u4f4d\u6027\u4f4e\u8840\u538b\u7b49\u3002\n\u5c11\u89c1\u4e0d\u826f\u53cd\u5e94\u6709\u8fc7\u654f\u6027\u76ae\u75b9\u3002\n\u5076\u89c1\u610f\u8bc6\u969c\u788d\u3001\u8840\u538b\u5347\u9ad8\u53ca\u809d\u529f\u80fd\u635f\u5bb3\u3002\n\u5927\u5242\u91cf\u65f6\u53ef\u80fd\u8bf1\u53d1\u766b\u75eb\u3002",
                    "name": " "
                },
                {
                    "source": "forbid|centernode",
                    "target": "1.\u5bf9\u5417\u6c2f\u8d1d\u80fa\u8fc7\u654f\u8005\u3001\u5b55\u5987\u548c\u54fa\u4e73\u8005\u7981\u7528\u3002\n2.\u55dc\u94ec\u7ec6\u80de\u7624\u3001\u809d\u529f\u80fd\u4e25\u91cd\u53d7\u635f\u4ee5\u53ca\u8e81\u72c2\u6291\u90c1\u75c7\u60a3\u8005\u7981\u7528\u3002",
                    "name": " "
                },
                {
                    "source": "attention|centernode",
                    "target": "\u809d\u3001\u80be\u529f\u80fd\u4e25\u91cd\u4e0d\u5168\u8005\u614e\u7528\u3002\n\u672c\u54c1\u7981\u6b62\u4e0e\u5176\u4ed6\u6297\u6291\u90c1\u836f\u7269\u540c\u65f6\u4f7f\u7528\uff0c\u4ee5\u907f\u514d\u5f15\u8d77\u9ad85-\u7f9f\u8272\u80fa\u7efc\u5408\u5f81\u7684\u5371\u9669\u3002\n\u4f7f\u7528\u4e2d\u67a2\u6027\u9547\u75db\u836f(\u54cc\u66ff\u5576\u3001\u53ef\u5f85\u56e0\u3001\u7f8e\u6c99\u82ac)\u3001\u9ebb\u9ec4\u78b1\u3001\u4f2a\u9ebb\u9ec4\u78b1\u6216\u82ef\u4e19\u9187\u80fa\u60a3\u8005\u7981\u7528\u672c\u54c1\u3002\n\u60a3\u8005\u6709\u8f6c\u5411\u8e81\u72c2\u53d1\u4f5c\u503e\u5411\u65f6\u5e94\u7acb\u5373\u505c\u836f\u3002\n\u7528\u836f\u671f\u95f4\u4e0d\u5b9c\u9a7e\u9a76\u8f66\u8f86\u3001\u64cd\u4f5c\u673a\u68b0\u6216\u9ad8\u7a7a\u4f5c\u4e1a\u3002\n\u7528\u836f\u671f\u95f4\u5e94\u5b9a\u671f\u68c0\u67e5\u8840\u8c61\u53ca\u5fc3\u3001\u809d\u3001\u80be\u529f\u80fd\u3002\n\u7531\u5176\u4ed6\u6297\u6291\u90c1\u836f\u6362\u7528\u672c\u54c1\uff0c\u5efa\u8bae\u505c\u836f2\u5468\u540e\u518d\u5f00\u59cb\u4f7f\u7528\u672c\u54c1;\u6c1f\u897f\u6c40\u5e94\u505c\u836f5\u5468\u518d\u5f00\u59cb\u4f7f\u7528\u672c\u54c1\u3002\n\u5b55\u5987\u614e\u7528\u3002\u54fa\u4e73\u671f\u5987\u5973\u4f7f\u7528\u672c\u54c1\u65f6\u5e94\u505c\u6b62\u54fa\u4e73\u3002\n\u8001\u5e74\u60a3\u8005\u7528\u836f\u914c\u60c5\u51cf\u5c11\u7528\u91cf\u3002",
                    "name": " "
                },
                {
                    "source": "cure_disease|centernode",
                    "target": "\u60c5\u611f\u6027\u5fc3\u5883\u969c\u788d",
                    "name": " "
                },
                {
                    "source": "cure_disease|centernode",
                    "target": "\u8001\u5e74\u671f\u6291\u90c1\u75c7",
                    "name": " "
                }
            ],
            "tooltip": {
                "show": true,
                "trigger": "item",
                "triggerOn": "mousemove|click",
                "axisPointer": {
                    "type": "line"
                },
                "formatter": function (x) { if(x.dataType === 'edge'){return x.data.name;} var strs = x.data.des;  var str = ''; for(var i = 0, s; s = strs[i++];) { if(i==500){str+='...'; break;} str += s; if(!(i % 50)) str += '<br>'; } return str;},
                "textStyle": {
                    "fontSize": 14
                },
                "borderWidth": 0
            }
        }
    ],
    "legend": [
        {
            "data": [
                "",
                "drug",
                "disease",
                "forbid",
                "attention",
                "uneffect",
                "use"
            ],
            "selected": {
                "": true,
                "drug": true,
                "disease": true,
                "forbid": true,
                "attention": true,
                "uneffect": true,
                "use": true
            },
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "\u5417\u6c2f\u8d1d\u80fa\u76f8\u5173\u77e5\u8bc6\u56fe\u8c31",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_186b3a3e88f640faa964fbbb8f67928d.setOption(option_186b3a3e88f640faa964fbbb8f67928d);
    </script>
</body>
</html>
